import styled from "styled-components";

const OrgDetailRecommendStyle = styled.div`
  .title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
  }

  .recommendList {
    display: flex;
    flex-direction: column;
    align-items: center;

    .recommendItem {
      width: 100%;
      display: flex;
      justify-content: space-between;
      margin: 10px 0;

      .info {
        display: flex;
        align-items: center;
        justify-content: start;

        .cover {
          width: 30%;
          border-radius: 8px;
          overflow: hidden;
          margin-right: 5px;
        }

        .info_container {
          .name {
            font-size: 15px;
            font-weight: 600;
          }

          .desc {
            font-size: 13px;
            margin-top: 2px;
            max-width: 30vw;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            color: #807e7e;
          }
        }
      }

      .price_info {
        display: flex;
        align-items: center;

        .sellNum {
          width: 4em;
          font-size: 12px;
          color: #807e7e;
          margin-right: 5px;
        }

        .price {
          text-align: center;

          .orginPrice {
            text-decoration: line-through;
            font-size: 13px;
          }

          .nowPrice {
            color: #f3a51b;
            font-size: 18px;
            font-weight: 600;
          }
        }
      }
    }
  }

  .adm-error-block {
    padding-top: 0;

    .adm-error-block-description-title {
      font-size: 15px;
    }
  }
`;

export default OrgDetailRecommendStyle;
